#include "net/net.h" 
#include "app/app.h" 

#include <iostream>

class ServerHandler : public app::IServerHandler {
  virtual void Init() {

  }

  virtual void Stop() {

	}

  virtual void Start() {

  }

  virtual void OnInConnection(app::IConnection* connection) {

  }

  virtual void OnOutConnection(app::IConnection* connection) {

  }
};

int main() {
	ServerHandler server_handler;
	app::IServer* server = app::GetServer();
	server->SetHandler(&server_handler);
	server->Run();
	return 0;
}
